Trò chơi Tic-Tac-Toe, game đánh caro full source code
53.461 lượt xem;
- PhotonTransformViewScaleModel.cs
- Views /
- PhotonNetwork /
- Plugins /
- Photon Unity Networking /
- Assets /
- project /
1 using UnityEngine;
2 using System.Collections;
3
4 [System.Serializable]
5 public class PhotonTransformViewScaleModel
6 {
7 public enum InterpolateOptions
8 {
9 Disabled,
10 MoveTowards,
11 Lerp,
12 }
13
14 public bool SynchronizeEnabled;
15
16 public InterpolateOptions InterpolateOption = InterpolateOptions.Disabled;
17 public float InterpolateMoveTowardsSpeed = 1f;
18 public float InterpolateLerpSpeed;
19 }
2 using System.Collections;
3
4 [System.Serializable]
5 public class PhotonTransformViewScaleModel
6 {
7 public enum InterpolateOptions
8 {
9 Disabled,
10 MoveTowards,
11 Lerp,
12 }
13
14 public bool SynchronizeEnabled;
15
16 public InterpolateOptions InterpolateOption = InterpolateOptions.Disabled;
17 public float InterpolateMoveTowardsSpeed = 1f;
18 public float InterpolateLerpSpeed;
19 }